package com.wan.usercenter.pojo.entity;

import java.io.Serializable;
import java.util.Date;

public class BasicJobManage implements Serializable {
    private Long id;

    private String jobName;

    private String jobGroup;

    private String description;

    private String targetPath;

    private String cron;

    private Byte errorTactics;

    private Byte concurrentState;

    private String otherInfo;

    private Long tenantId;

    private Long createdBy;

    private String creator;

    private Date createdTime;

    private Long updatedBy;

    private String modifier;

    private Date updatedTime;

    private Byte status;

    private Long version;

    private Long orgId;

    private Long companyId;

    private static final long serialVersionUID = 1L;

    public BasicJobManage(Long id, String jobName, String jobGroup, String description, String targetPath, String cron, Byte errorTactics, Byte concurrentState, String otherInfo, Long tenantId, Long createdBy, String creator, Date createdTime, Long updatedBy, String modifier, Date updatedTime, Byte status, Long version, Long orgId, Long companyId) {
        this.id = id;
        this.jobName = jobName;
        this.jobGroup = jobGroup;
        this.description = description;
        this.targetPath = targetPath;
        this.cron = cron;
        this.errorTactics = errorTactics;
        this.concurrentState = concurrentState;
        this.otherInfo = otherInfo;
        this.tenantId = tenantId;
        this.createdBy = createdBy;
        this.creator = creator;
        this.createdTime = createdTime;
        this.updatedBy = updatedBy;
        this.modifier = modifier;
        this.updatedTime = updatedTime;
        this.status = status;
        this.version = version;
        this.orgId = orgId;
        this.companyId = companyId;
    }

    public BasicJobManage() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName == null ? null : jobName.trim();
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup == null ? null : jobGroup.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getTargetPath() {
        return targetPath;
    }

    public void setTargetPath(String targetPath) {
        this.targetPath = targetPath == null ? null : targetPath.trim();
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron == null ? null : cron.trim();
    }

    public Byte getErrorTactics() {
        return errorTactics;
    }

    public void setErrorTactics(Byte errorTactics) {
        this.errorTactics = errorTactics;
    }

    public Byte getConcurrentState() {
        return concurrentState;
    }

    public void setConcurrentState(Byte concurrentState) {
        this.concurrentState = concurrentState;
    }

    public String getOtherInfo() {
        return otherInfo;
    }

    public void setOtherInfo(String otherInfo) {
        this.otherInfo = otherInfo == null ? null : otherInfo.trim();
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Long getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Long updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", jobName=").append(jobName);
        sb.append(", jobGroup=").append(jobGroup);
        sb.append(", description=").append(description);
        sb.append(", targetPath=").append(targetPath);
        sb.append(", cron=").append(cron);
        sb.append(", errorTactics=").append(errorTactics);
        sb.append(", concurrentState=").append(concurrentState);
        sb.append(", otherInfo=").append(otherInfo);
        sb.append(", tenantId=").append(tenantId);
        sb.append(", createdBy=").append(createdBy);
        sb.append(", creator=").append(creator);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", updatedBy=").append(updatedBy);
        sb.append(", modifier=").append(modifier);
        sb.append(", updatedTime=").append(updatedTime);
        sb.append(", status=").append(status);
        sb.append(", version=").append(version);
        sb.append(", orgId=").append(orgId);
        sb.append(", companyId=").append(companyId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}